package com.sishu.pojo.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author linyi
 * @date  2025-01-06 11:43:15
 * @description 给前端,显示整局游戏信息,其中连结了四张表,game,gamegroups,gus,role*/

@Data
@AllArgsConstructor
@NoArgsConstructor
public class GameVo implements Serializable {

    private static final long serialVersionUID = 1L;


    private String gameId; //小组id


    private String gameDifficulty;

    private Integer active; //是否活跃

    private String groupId;

    private String sId;

    private int  isdelete;

    private int upgradeTime;

    private String roleId;

    private String roleName;

    private String skillName;

    private int level;

    private String levelName;

    private String upgradeCondition;

    private int rolePrice;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime endTime;
}
